* {
  margin: 0;
  padding: 0;
}
:root {
  --r-mobile-menubar-height: 48px;
  --r-mobile-navbar-height: 56px;
  --r-mobile-navbar-height: 0px;
  // --r-mobile-tabbar-height: 54px;
  --r-mobile-tabbar-height: 70px;
  --r-mobile-toolbar-height: 60px;

  --gutter-width: 8px;

  --r-mobile-shop-info-cell-box-height: 80px;
  --r-mobile-shop-info-cell-height: ~'calc( var(--r-mobile-shop-info-cell-box-height) + var(--gutter-width) )';
  --r-mobile-shop-menu-bar-top: var(--r-mobile-shop-info-cell-height);
  --r-mobile-shop-header-container-height: ~'calc(var(--r-mobile-shop-menu-bar-top) + var(--r-mobile-menubar-height))';
  --menu-bar-shop-tertiary-level-top: ~'calc(var(--r-mobile-shop-header-container-height) + 1px)';
  --r-mobile-collection-shop-top: ~'calc(var(--r-mobile-shop-header-container-height) + var(--r-mobile-menubar-height) + var(--margin-x-small))';

  --r-mobile-bottom-float-button-padding: ~'calc(88px + var(--padding-small))';

  /* content */
  --r-content-auto-width: 62vw;
  --r-content-max-width: 1218px;
  // --r-content-max-width: 1024px;
  // --r-content-min-width: 800px;
  --r-content-min-width: 820px;
  // --r-content-min-width: 900px;
  --viewport-content-max-width: ~'min( var(--r-content-max-width),var(--r-content-auto-width) )';
  --viewport-content-width: ~'calc( max(var(--r-content-min-width),  var(--viewport-content-max-width)) )';
}

@import './reset.less';
@import './font.less';
@import '~ant-design-vue/es/style/themes/default.less';
@import './margin.less';
@import './padding.less';
@import './theme.less';
@import './scrollbar.less';
@import './navigation.less';
@import './collection.less';
@import './border-radius.less';
@import './section.less';
@import './pagination.less';

h1 {
  color: var(--r-text-color-black);
  font-size: 32px;
  font-weight: 700;
  text-align: center;
}

h2 {
  color: var(--r-text-color-black);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.5;
}

h3 {
  color: var(--r-text-color-black);
  font-size: 16px;
  font-weight: 500;
}
h4 {
  color: var(--r-text-color-black);
  font-size: 14px;
  font-weight: 500;
}
h5 {
  color: var(--r-text-color-black);
  font-size: 12px;
  font-weight: 500;
}

.app {
  display: flex;
  flex-direction: column;
  // overflow: hidden;
  // overflow:auto;
}

.headline {
  color: var(--r-text-color-black);
  text-align: center;
  padding: var(--padding-x-small);
}

.subhead {
  font-size: 18px;
  padding: 10px 10px;
  text-align: center;
  color: var(--r-text-color-secondary);
  font-weight: 400;
}

.main {
  background-color: var(--r-background-main);
}
.price {
  color: #ff0036;
}

/* https://github.com/ElemeFE/element/issues/425 */
.message-z-index {
  z-index: 99999 !important;
}
#menu-nav {
  width: fit-content;
}

#menu-nav .menu-nav-content {
  margin: 0 auto;
  padding: 0 0;
  align-items: center;
  justify-content: flex-start;
  font-size: 14px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  width: fit-content;
  overflow: hidden;
}

#menu-nav .menu-nav-item {
  margin: 4px 10px;
  font-weight: 500;
  color: black;
  opacity: 0.8;
  z-index: 1;
  text-decoration: none;
  text-align: center;
  padding: 10px 12px;
  max-height: 48px;
  width: fit-content;
  white-space: nowrap;
}
#menu-nav .menu-nav-item-selected {
  margin: 4px 10px;
  color: black;
  opacity: 0.8;
  z-index: 1;
  text-decoration: none;
  text-align: center;
  padding: 10px 12px;
  max-height: 48px;
  width: fit-content;
  white-space: nowrap;
  font-weight: 600;
  color: var(--r-primary-color);
  background: rgba(13, 12, 34, 0.05);
  border-radius: 8px;
}

#menu-nav .menu-nav-item:hover {
  color: var(--r-primary-color);
  font-weight: 600;
  margin: 4px 10px;
  padding: 10px 12px;
  background: rgba(13, 12, 34, 0.05);
  border-radius: 8px;
}

.menu-nav-content > :last-child {
  margin-right: 0 !important;
}

.section-news .container h5 {
  color: var(--r-text-color-white);
}
.section-exhibition-faqs {
  background-color: var(--r-background-gray);
}

.section-exhibition-faqs .cards {
  margin: 0 auto;
  padding: 0 0;
  width: var(-r-content-auto-width);
  max-width: var(--r-content-max-width);
  min-width: var(--r-content-min-width);
}

.section-exhibition-faqs .cell {
  margin: 0 0;
  padding: 0 0px;
  object-fit: cover;
  border-radius: 20px;
  width: ~'calc((max(800px, min(1000px, 0.7 * 100vw)) - 20px) / 2)';
  background-color: white;
}
.section-exhibition-faqs .cell:hover {
  box-shadow: 0px 8px 20px 3px rgba(0, 0, 0, 0.3);
}

.cards {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.search-input-wrapper {
  margin: 0 auto;
  padding: var(--padding-medium) 0;
  width: 50% !important;
  display: flex;
  justify-self: center;
}

.delta-icon-right {
  width: 0;
  height: 0;
  border: 8px solid;
  border-color: transparent transparent transparent #575757;
}
.delta-icon-down {
  width: 0;
  height: 0;
  border: 8px solid;
  border-color: #575757 transparent transparent transparent;
}

.a-pagination {
  display: flex;
  justify-content: flex-end;
}

.product-container {
  display: flex;
  flex-direction: column;
  background-color: white;
  padding: var(--padding-medium) var(--padding-medium) !important;
  border-radius: var(--border-radius-xx-small);
}

.product-container .product-intro {
  display: flex;
  flex-direction: row;
}
.product-container .product-preview {
  display: flex;
  flex-direction: column;
  margin-right: 10px;
}

.product-container .product-info {
  margin-left: 10px;
  display: flex;
  flex-direction: column;
  /* justify-content: space-between; */
  /* height: 400px; */
}
.product-container .product-info .product-desc-container h3 {
  padding: 10px 0;
}
.product-container .product-info .product-desc-container .section-separator {
  height: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.product-container .product-info .product-desc-container .section-separator .separator-line {
  height: 1px;
  width: 100%;
  background: var(--r-background-gray);
}

.product-container .product-info .product-desc-container .section-top-group > p {
  padding: 5px 0;
  color: rgba(0, 0, 0, var(--r-opacity-secondary));
}
.product-container .product-info .product-desc-container .section-bottom-group > p {
  padding: 5px 0;
  color: rgba(0, 0, 0, var(--r-opacity-tertiary));
  /* opacity: var(--r-opacity-tertiary); */
}
.product-container .product-info .product-desc-container .section-top-group .market-price {
  color: #ff0036;
  font-size: 17px;
  font-weight: bolder;
}
.product-container .product-info .product-desc-container .section-bottom-group .sale-price {
  color: #ff0036;
  font-size: 20px;
  font-weight: bolder;
}

.product-container .product-info .product-count-input-container {
  margin: 24px 0 20px 0;
}
.product-container .product-info .product-buy-cart-btn-container .buy-btn {
  margin-right: 10px;
}
.product-container .product-info .product-buy-cart-btn-container .cart-btn {
  margin-left: 10px;
}

.product-container .side-product-detail {
  width: 100%;
  display: flex;
  flex-direction: row;
}
.product-container .side-product-detail .side-container .shop-intro {
  width: 210px;
  border: 1px solid rgba(0, 0, 0, 0.3);
  margin-right: 10px;
  padding: 0 0 10px 0;
}
.product-container .side-product-detail .side-container .shop-intro .shop-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  background: var(--r-background-gray-4);
  padding: 8px 0px;
  line-height: 1.5;
}
.product-container .side-product-detail .side-container .shop-intro .shop-header h4 {
  width: 100%;
  text-align: left;
  padding: 0 15px;
}

.product-container .side-product-detail .side-container .shop-intro .shop-info {
  margin: 10px 0;
  color: rgba(0, 0, 0, var(--r-opacity-secondary));
}
.product-container .side-product-detail .side-container .shop-intro .shop-info .shop-desc > p {
  width: 100%;
  text-align: left;
  padding: 5px 15px;
  font-size: 14px;
  line-height: 1.5;
}
.product-container .side-product-detail .side-container .shop-intro .shop-info .shop-nav-btn-conatiner {
  margin: 10px 0;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.product-container .side-product-detail .side-container .shop-intro .shop-info .access-btn {
  width: 90px;
  margin-left: 5px;
}
.product-container .side-product-detail .side-container .shop-intro .shop-info .contact-btn {
  width: 90px;
  margin-right: 5px;
}
.product-container .side-product-detail .product-detail .tabbar {
  /* width: 100%; */
  min-width: 760px;
  background-color: white;
  background: var(--r-background-gray);
}

.product-container .side-product-detail .product-detail .tabbar .el-tabs {
  margin: 0 15px;
}

.product-container .side-product-detail .product-detail .tabbar .el-tabs__content {
  display: none;
}

.product-container .side-product-detail .product-detail .tabbar .el-tabs__nav-wrap::after {
  display: none;
}

.product-container .side-product-detail .product-detail .content {
  padding: 0px 15px;
  color: rgba(0, 0, 0, var(--r-opacity-tertiary));
  font-size: 14px !important;
  font-weight: 500;
  line-height: 1.5;
  min-width: fit-content;
  // min-width: 800px;
}

.product-container .product-info .product-desc-container .subname {
  font-weight: 600;
  line-height: 1.5rem;
}
.product-checkbox-cover {
  margin-right: 10px;
}

.product-cover {
  margin-left: 10px;
  width: 100px;
  height: 100px;
  object-fit: cover;
  overflow: hidden;
}

.over-a-button {
  margin: 0 0 !important;
  padding: 0 0 !important;
  border: none !important;
}
.a-button.over-a-button.a-button--default:focus,
.a-button.over-a-button.a-button--default:hover {
  color: var(--r-primary-color);
  border: none !important;
  background-color: white !important;
}
.ant-btn-primary:hover,
.ant-btn-primary:focus {
  color: #fff;
  background-color: var(--r-primary-color);
  border-color: var(--r-primary-color);
}

.banner-img {
  width: 100%;
}
.banner-container {
  display: block !important;
}

.captcha-container {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}

.ant-modal-header {
  min-height: 40px;
}

// .captcha-container button {
//   margin-left: 16px;
// }

.captcha-button-disabled {
  margin-left: 16px;
}

.captcha-button {
  margin-left: 16px;
  color: var(--r-primary-color);
  border-color: var(--r-primary-color);
}

.more-footer-icon {
  font-size: 12px;
}
.more-footer-icon-whtie {
  font-size: 12px;
  color: white;
}
